]> dgit.raspbian.org Git - gnome-shell.git/commit
loginDialog: On login, allow logout a conflicting session
authorJoan Torres <joan.torres@suse.com>
Wed, 7 Feb 2024 12:05:17 +0000 (13:05 +0100)
committerRay Strode <halfline@gmail.com>
Thu, 29 Feb 2024 20:42:52 +0000 (20:42 +0000)
commitdf84854d9073c457d79d7c2e6a5750428c52ff01
tree61d1764b9e5bf757b83c96f6f7dbeaaa2861de8b
parentd8fc37adc3107b55d87b1f1344417de5a51a94db
loginDialog: On login, allow logout a conflicting session

When opening a session, find if there's already a session opened for the
same user with the help of Loginmanager.
When it's found, display the conflicting session dialog.

The logout dialog allows shutting down the conflicting session using the
greeter dbus method "StopConflictingSession".

If the dialog is already opened and the conflicting session has been
closed on its side, the new session will start.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3134>
js/gdm/loginDialog.js